home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 May / EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso / ghost / gs403src_zlib.readme < prev   
Text File  |  1997-04-21  |  2KB  |  59 lines

  1. Short:    Ghostscript4.03 Zlib sources
  2. Author:   GS(Aladdin)/Amiga(Olaf Barthel)/Port(me)
  3. Uploader: JoopvandeWege@mail.mococo.nl
  4. Type:     gfx/show
  5.  
  6. This is the original Zlib source archive in lha format instead
  7. of tar.gz. You'll need the following two archives to be able to recompile
  8. GS:
  9. gs403src_png.lha
  10.  
  11. Comments/Suggestions/Bugs to:
  12. JoopvandeWege@mail.mococo.nl
  13. Please use a Subject field with the name 'GS403' in it.
  14. Please direct all mail to me except when you're 100% sure it is a GS
  15. problem then you can use the Aladdin email address.
  16.  
  17. Joop van de Wege
  18.  
  19.  
  20. Recompiling GS:
  21. Steps needed to be done to recompile GS from scratch using GCC2.63/2.70:
  22. Get gs403src_gs.lha
  23. Get gs403src_amiga.lha
  24. Get gs403src_jpg6a.lha
  25. Get gs403src_zlib.lha
  26. Get gs403src_png.lha
  27.  
  28. Unpack gs403src to HD, a directory 'gs4.03' will be created.
  29. Unpack to the same HD (files will also be placed into 'gs4.03':
  30. - gs403amiga.lha, overwriting some files. This is OK
  31.   gs403amiga.lha contains:
  32.   - gdevamiga.c, the amiga device driver from Olaf Barthel
  33.   - gdevpipe.c, patched for use with Libnix
  34.   - gp_amiga.c, platform dependant stuff for the Amiga
  35.   - Configure.in/Makefile.in to rebuild Makefile and be able
  36.     to separate source and build directory.
  37. - gs403src_jpg6a which creates the 'jpeg-6' directory
  38. - gs403src_zlib which creates the 'zlib' directory
  39. - gs403src_png which creates the 'libpng' directory
  40. - edit gcc-head.mak.in, the lines DEVICES_DEVSx= .....
  41.   (add/remove devices to your desire), save!
  42. - cd to your build directory (cd work:build/gs)
  43. - sh work:source/gs4.03/configure --prefix=Ghostscript:
  44.   (configure tests your configuration, generates Makefile)
  45. - make
  46. - make install
  47.  
  48. The last two archives are not needed when you don't intend to rebuild GS
  49. with PNG support.
  50.  
  51. If you haven't forgotten to set the stack to a reasonable amount (~50K),
  52. you can sit back and have a cup of coffee. On my A3000 it takes about 2.5h
  53. (1-1.5h when using PowerCache) to compile with the current device driver
  54. set and the file 'gdevamiga.c' needs about 7-8Mb when -O2 is on. It needs
  55. less if you don't optimize :)
  56. Make itself takes another 2Mb so in case of problems just compile
  57. gdevamiga.c on its own and let make resume after that. GCC2.7.2.1 (?) (Aminet)
  58. works with VMM3.3 (on Aminet too).
  59.